home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11253 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  683 b 

  1. Path: peer-news.britain.eu.net!uknet!bhamcs!news
  2. From: Matthew G Butler <M.G.Butler-MSCSE95@cs.bham.ac.uk>
  3. Newsgroups: comp.lang.c++
  4. Subject: Casting
  5. Date: Wed, 13 Mar 1996 14:28:44 +0000
  6. Organization: School of Computer Science, The University of Birmingham, U.K.
  7. Message-ID: <3146DB9C.4022@cs.bham.ac.uk>
  8. NNTP-Posting-Host: gromit.cs.bham.ac.uk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
  13.  
  14. Can anyone tell me how to cast from one data type to another? What is
  15. the syntax? Do I have to cast explicitly or can I stick a casting
  16. function into my ADT and let the sprites sort it out.
  17.  
  18. M.
  19.